<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>ClearJSONMembers</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">ClearJSONMembers()</font></b></p>
<p><b>语法</b></p><blockquote>
<font color="#006666"><b>ClearJSONMembers</b></font>(JSONValue)</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Remove all object members from a JSON value of <a href="jsontype.html">type</a> <font color="#924B72">#PB_JSON_Object</font>. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>JSONValue</i></td>
<td width="90%"> 
 
The JSON value. The value must be of type <font color="#924B72">#PB_JSON_Object</font>. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>
无.


</blockquote><p><b>示例</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  Input$ = "{ " +<font color="#006666"> Chr</font>(34) + "x" +<font color="#006666"> Chr</font>(34) + ": 10, " +<font color="#006666"> Chr</font>(34) + "y" +<font color="#006666"> Chr</font>(34) + ": 20 }"
  <b><font color="#006666">Debug</font></b> Input$  
<font color="#006666">  ParseJSON</font>(0, Input$)
  
  <font color="#006666">; clear the members and add a new one</font>
<font color="#006666">  ClearJSONMembers</font>(<font color="#006666">JSONValue</font>(0))
<font color="#006666">  SetJSONString</font>(<font color="#006666">AddJSONMember</font>(<font color="#006666">JSONValue</font>(0), "Hello"), "World")
  
  <b><font color="#006666">Debug</font></b> <font color="#006666">ComposeJSON</font>(0)
</font></pre>

</blockquote><p><b>参阅</b></p><blockquote>

<a href="setjsonobject.html">SetJSONObject()</a>, <a href="addjsonmember.html">AddJSONMember()</a>, <a href="removejsonmember.html">RemoveJSONMember()</a>, 
<a href="getjsonmember.html">GetJSONMember()</a>, <a href="examinejsonmembers.html">ExamineJSONMembers()</a>, <a href="jsonobjectsize.html">JSONObjectSize()</a>, 
<a href="jsontype.html">JSONType()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=clearjsonelements.html>ClearJSONElements()</a> - <a href=index.html>Json Index</a> - <a href=composejson.html>ComposeJSON()</a> -&gt;



</body></html>